home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / include / pi-memo.h < prev    next >
C/C++ Source or Header  |  1997-08-01  |  833b  |  34 lines

  1. #ifndef _PILOT_MEMO_H_        /* -*- C++ -*- */
  2. #define _PILOT_MEMO_H_
  3.  
  4. #include "pi-args.h"
  5. #include "pi-appinfo.h"
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11. struct Memo {
  12.   char * text;
  13. };
  14.  
  15. struct MemoAppInfo {
  16.   struct CategoryAppInfo category;
  17.   int sortByAlpha; /* New for 2.0 memo application, 0 is manual, 1 is alphabetical. */
  18. };
  19.  
  20. extern void free_Memo PI_ARGS((struct Memo *));
  21. extern int unpack_Memo PI_ARGS((struct Memo *, unsigned char * record, int len));
  22. extern int pack_Memo PI_ARGS((struct Memo *, unsigned char * record, int len));
  23. extern int unpack_MemoAppInfo PI_ARGS((struct MemoAppInfo *, unsigned char * AppInfo, int len));
  24. extern int pack_MemoAppInfo PI_ARGS((struct MemoAppInfo *, unsigned char * AppInfo, int len));
  25.  
  26. #ifdef __cplusplus
  27. }
  28.  
  29. #include "pi-memo.hxx"
  30.  
  31. #endif /*__cplusplus*/
  32.  
  33. #endif /* _PILOT_MEMO_H_ */
  34.